Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AbstractFiniteElement #197

Merged
merged 120 commits into from
Oct 16, 2023
Merged

AbstractFiniteElement #197

merged 120 commits into from
Oct 16, 2023

Conversation

mscroggs
Copy link
Member

@mscroggs mscroggs commented Sep 12, 2023

  • Refactored the FiniteElementBase class, and renamed it to AbstractFiniteElement (see Decide on consistent naming for Base/Abstract classes #170)
  • Moved the current finite element implementation to legacy/ and added warning about deprecation if they're used. FEniCSx now functions without these files but they are used to get Firedrake/TSFC tests to pass. Medium term plan is to move these files to FIAT or FInAT.
  • Added FiniteElement, SymmetricElement and MixedElement subclasses of AbstractFiniteElement to be used in testing. These are not loaded in ufl/__init__.py as they are not intended for use by users.

Resolves #160. Close #60. Close #82.

FEniCS/basix#703, FEniCS/ffcx#614, and FEniCS/dolfinx#2784 must be merged alongside this to make FEniCSx tests pass.

firedrakeproject/tsfc#300 and firedrakeproject/firedrake#3122 must be merged once this is merged into the Firedrake fork of UFL.

@mscroggs mscroggs marked this pull request as draft September 12, 2023 10:51
ufl/finiteelement.py Outdated Show resolved Hide resolved
ufl/finiteelement.py Outdated Show resolved Hide resolved
ufl/finiteelement.py Outdated Show resolved Hide resolved
ufl/finiteelement.py Outdated Show resolved Hide resolved
ufl/finiteelement.py Outdated Show resolved Hide resolved
ufl/finiteelement.py Outdated Show resolved Hide resolved
ufl/finiteelement.py Outdated Show resolved Hide resolved
ufl/finiteelement.py Outdated Show resolved Hide resolved
ufl/finiteelement.py Outdated Show resolved Hide resolved
ufl/finiteelement.py Outdated Show resolved Hide resolved
@mscroggs mscroggs mentioned this pull request Sep 18, 2023
@mscroggs mscroggs changed the title [WIP] AbstractFiniteElement AbstractFiniteElement Sep 27, 2023
@mscroggs mscroggs marked this pull request as ready for review September 27, 2023 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant